package com.mgs.tagger.events
{
	import com.mgs.tagger.appdata.dto.TagDTO;
	import com.mgs.tagger.model.FileItemUI;
	
	import flash.events.Event;
	
	public class TagEvent extends Event
	{
		public static const REMOVE:String = "TagEvent_Remove";
		public static const CHANGE_COLOR:String = "TagEvent_ChangeColor";
		public static const SELECT:String = "TagEvent_Select";
		public static const UNSELECT:String = "TagEvent_Unselect";
		
		private var _tag:TagDTO;
		
		public function TagEvent(type:String, tag:TagDTO)
		{
			super(type, true, true);
			_tag = tag;
		}

		public function get tag():TagDTO
		{
			return _tag;
		}

	}
}